
#ifndef __PWM_H__
#define __PWM_H__
#include "stm32f10x.h"
typedef struct
{
	_Bool sg90_status;
		                 
}sg90_flag;
void PWM_Init(void);
void PWM_SetCompare2(uint16_t Compare);

void Servo_SetAngle(float Angle);
void Servo_transform(_Bool status);

#endif
